#pragma once

#include "Math/Color.h"
#include "Math/Vec3.h"
#include "Math/Quat.h"


class CRenderMesh;
struct SPreRenderForegroundMeshInstance;
struct SPreRenderContext;

struct SRenderForegroundMeshInstance
{
    SVec3 Position;
    SQuat Rotation;
    SVec3 Scale;

    std::shared_ptr<CRenderMesh> Mesh;
    SColor Color;
    SVec3 ViewPosition;

    void GeneratePreRenderData(SPreRenderContext& InPreRenderContext,SPreRenderForegroundMeshInstance& OutData) const;

};